package com.zengqingfa.designpattern.structure.decorator;

/**
 * @author zengqingfa
 * @className Decorator
 * @description
 * @create 2021/8/29 23:11
 */
public class Decorator implements Component {
    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    public void operate() {
        component.operate();
    }
}